<html><head><title>DatabaseColumnType</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">DatabaseColumnType()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result = <font color="#3A3966"><b>DatabaseColumnType</b></font>(#Database, Column)  </blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Return the type of the specified column in the #Database. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Database</i></td>
<td width="90%"> 
The database to use. 

</td></tr>
<tr><td><i>Column</i></td>
<td> 
The column to use. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

Returns the type of the given column. 
If Result is 0, the type is undefined or the function has failed (e.g. it was not possible to determine the data type). 
<br>
<br>
Type values can be: 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Database_Long</font>  : Numeric format (a Long (.l) in PureBasic)
  <font color="#924B72">#PB_Database_String</font>: String format (a String (.s) in PureBasic)
  <font color="#924B72">#PB_Database_Float</font> : Numeric float format (a Float (.f) in PureBasic)
  <font color="#924B72">#PB_Database_Double</font>: Numeric double format (a Double (.d) in PureBasic)
  <font color="#924B72">#PB_Database_Quad</font>  : Numeric quad format (a Quad (.q) in PureBasic)
  <font color="#924B72">#PB_Database_Blob</font>  : Blob format
</font></pre>

</blockquote><p><b>See Also</b></p><blockquote>

<a href="databasecolumns.html">DatabaseColumns()</a>, <a href="databasecolumnname.html">DatabaseColumnName()</a>, <a href="databasecolumnsize.html">DatabaseColumnSize()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=databasecolumnsize.html>DatabaseColumnSize()</a> - <a href="index.html">Database Index</a> - <a href="databasecolumns.html">DatabaseColumns()</a> -><br><br>

</body></html>